﻿//using System;
//using System.IO;
//using HighScores;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
//using OptionsForm;


//namespace HighScoreTest
//{
//    [TestClass]
//    public class ScoreTester
//    {
//        [TestMethod]
//        public void ScoreTest()
//        {
//            var score =new Score() {Level = Level.Easy, Name = "josh", Time = 15};
//            score.ScoresWriter(FileMode.Create);
//            var newScore = new Score().ScoresReader()[0];
//            Assert.AreEqual(score,newScore);
//        }
//        [TestMethod]
//        public void ScoreTest2()
//        {
//            var score = new Score() { Level = Level.Easy, Name = "Yehuda", Time = 148 };
//            score.ScoresWriter(FileMode.Create);
//            var newScore = new Score().ScoresReader();
//            Assert.AreEqual(score, newScore[0]);
//        }

//        [TestMethod]
//        public void ScoreKeeperTest2()
//        {
//            var score = new ScoreKeeper();
//            score.ScoresWriter(FileMode.Create);
//            var newScore = new Score().ScoresReader();
//            Assert.AreEqual(score.Count, newScore.Count);
//        }
//    }
//}
